/*
 * syscpar_common.h
 *
 *  Created on: May 27, 2010
 *      Author: sdaniele
 */

#ifndef SYSCPAR_COMMON_H_
#define SYSCPAR_COMMON_H_


#include <sstream>
#include <string>

namespace sc_core {

inline std::string intToStr(int i){
	::std::stringstream s;
	s << i;
	return s.str();
}



#define PREFIX "[current] "
#define LINE
#define DBG(ostream)\
		ostream << PREFIX //<<  ::std::string(__FILE__).substr(::std::string(__FILE__).find_last_of("/")+1) << "(" << __LINE__ << "):"
}

#endif /* SYSCPAR_COMMON_H_ */
